package com.todo.biz.iface.frontend.request;

import com.todo.common.common.entity.request.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author azhebuxing
 * @date 2024/5/10 16:21
 * @description
 */
@Data
public class QueryCommentByParentIdParam extends PageRequest {


    @Schema(name = "父id", description = "父id")
    private String parentId;

    @Schema(name = "业务场景", description = "业务场景")
    private Integer businessScene;

    @Schema(name = "评论类型：内容评论、子评论", description = "评论类型：内容评论、子评论")
    private Integer commentType;

    public boolean baseCheck() {
        if (parentId == null || businessScene == null || commentType == null){
            return false;
        }
        return true;
    }
}
